<style>
    body,html{
        background-color: #F9F9F9;
    }
</style>
<script>
    window.onload = function(){

        var form = new xhForm($('#xh_form'));
        form.parse();
        //提交按钮处理事件
        $('#bt_modal_confirm',window.top.document).click(function () {
            form.submit('order/cancelOrder',{},function (res) {
                window.top.xhTop.showSuccess(res.msg);
                window.top.xhTop.getActiveFrame()['courseFrame'].obj.dataGrid.reload();
                window.top.xhTop.getActiveFrame()['tabletFrame'].obj.dataGrid.reload();
                window.top.xhTop.closeModal();
            });
        });
    }
</script>

<form id="xh_form" class="xh-form"  method="post"    style="margin-left: 20px;">
    <div class="xh-area-form">
        <table  style="width: 100%">
            <tr>
                <td valign="middle" style="width: 75px;"><label>取消理由</label><input  type="hidden" name="orderNo" value="{{ no }}"></td>
                <td colspan="5">
                    <textarea name="reason" rows="5" border="0" placeholder="最大50字"></textarea>
                </td>
            </tr>
        </table>
    </div>
</form>